package projet_v1.items.help;
/**
 * This class will test the FisrtAidKit class 
 * 
 * @author Alexis LAURENT
 *
 */
import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import projet_v1.Breed;
import projet_v1.Human;

/**
 * 
 * @author user Alexis Laurent
 *
 */
public class TestFirstAidKit {

	private FirstAidKit fak;
	
	@Before
	public void setUp() throws Exception {
		fak = new FirstAidKit();
	}
	
	@Test
	public void testUse() {
		Human h = new Human(Human.HP_HUMANS);
		h.reduceHealthPoints(30);
		assertEquals(70,h.getHealthPoints());
		fak.use(h);
		assertEquals(90,h.getHealthPoints());
	}
}
